package com.aurora.config.datasource;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;

@Configuration
@Slf4j
public class Neo4jConfig {

//    /**
//     * neo4j事务
//     * @param sessionFactory
//     * @return
//     */
//    @Bean("TransactionManager")
//    public Neo4jTransactionManager neo4jTransactionManager(SessionFactory sessionFactory) {
//        return new Neo4jTransactionManager(sessionFactory);
//    }
//    @Bean("transactionManager")
//    public DataSourceTransactionManager neo4jTransactionManager(@Qualifier("dsNeo4j") DataSource dataSource) {
//        return new DataSourceTransactionManager(dataSource);
//    }
}
